package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {

    public void add(Member member);

    public Member findByTelephone(String telephone);

    public List<Integer> findMemberCountByMonth(List<String> month);
    //分页查询
    PageResult findPage(QueryPageBean queryPageBean);

    void delete(Integer id);

    void edit(Member member);

    Member findById(Integer id);

    List<Map<String, Object>> findManagerByRoleId();

}
